<?php
header('Content-type:application/x-javascript');
header('Cache-Control:no-store,no-cache,must-revalidate,post-check=0,pre-check=0');
require('../../../lib/base.php');
$base=new base('web');
$session=$base->library('session',array('build'=>false));
if($session->ISSESS()){
?>
document.write('<div class="module" style="height:298px;"><div class="bar"><div>您好，<font color="red"><?=$session->GVAR('mail')?></font></div></div><div class="annal"><div class="matial i1">未结算佣金：<?=$session->GVAR('commision')?>&nbsp;元</div><div class="matial i2">收款人：<?=$session->GVAR('bank')?></div><div class="matial i3">最后登录：<span id="last"><?=long2ip($session->GVAR('ip'))?></span></div><div class="matial i4">登录时间：<?=date('Y-m-d H:i:s',$session->GVAR('date'))?></div></div><div class="comion">可结算佣金：&nbsp;<?=$session->GVAR('money')?>&nbsp;元</div><div class="comion">支付中佣金：&nbsp;<?=$session->GVAR('frozen')?>&nbsp;元</div><div class="go"><a href="<?=domain?>home/index.php" class="button">进入我的联盟</a></div></div>');
$.getScript('http://web.juhe.cn/s/ip2addr/do.php?ip2addr='+$('#last').text());
function juheWebjsip2addrReturn(json){
	if(json.result=='1'){if(json.area.length<=7){json.area+='('+json.ip+')';}$('#last').html(json.area);}
}
<?php
}else{
?>
home();
<?php
}
?>